package com.fankui.serviceedu.service;

import com.fankui.serviceedu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fankui.serviceedu.entity.vo.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author 范奎
 * @since 2023-11-25
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterListByCourseId(String courseId);

    boolean removeChapterById(String chapterId);

    void removeChapterByCourseId(String courseId);
}
